if (source_fmt->component[j] ==
source_fmt->model->component[i])
{
- babl_process (assert_conversion_find (src_img->type[0],
- dst_img->type[0]),
- src_img, dst_img, n);
+ babl_conversion_process (assert_conversion_find (src_img->type[0], dst_img->type[0]),
+ (void*)src_img, (void*)dst_img, n);
found = 1;
break;
}
src_img->data[0] =
destination_double_buf + (src_img->type[0]->bits / 8) * j;
- babl_process (assert_conversion_find (src_img->type[0],
- dst_img->type[0]),
- src_img, dst_img, n);
+ babl_conversion_process (assert_conversion_find (src_img->type[0],
+ dst_img->type[0]),
+ (void*)src_img, (void*)dst_img, n);
break;
}
}
dst_img->data[0] = source_double_buf;
- babl_process (
+ babl_conversion_process (
assert_conversion_find (src_img->type[0], dst_img->type[0]),
- src_img, dst_img,
+ (void*)src_img, (void*)dst_img,
n * source_fmt->components);
babl_free (src_img);
babl_free (dst_img);
dst_img->type[0] = destination_fmt->type[0];
src_img->data[0] = destination_double_buf;
- babl_process (
+ babl_conversion_process (
assert_conversion_find (src_img->type[0], dst_img->type[0]),
- src_img, dst_img,
+ (void*)src_img, (void*)dst_img,
n * destination_fmt->components);
dst_img->data[0] += dst_img->type[0]->bits / 8;
);
if (conv->class_type == BABL_CONVERSION_PLANAR)
{
- babl_process (
+ babl_conversion_process (
conv,
- source_image, rgba_image,
+ (void*)source_image, (void*)rgba_image,
n);
}
else if (conv->class_type == BABL_CONVERSION_LINEAR)
{
- babl_process (
+ babl_conversion_process (
conv,
source_double_buf, rgba_double_buf,
n);
BABL (babl->fish.destination)->format.model);
if (conv->class_type == BABL_CONVERSION_PLANAR)
{
- babl_process (
+ babl_conversion_process (
conv,
- rgba_image, destination_image,
+ (void*)rgba_image, (void*)destination_image,
n);
}
else if (conv->class_type == BABL_CONVERSION_LINEAR)
{
- babl_process (
+ babl_conversion_process (
conv,
rgba_double_buf, destination_double_buf,
n);